package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.BKKnowledgeTradeDao;
import gov.ccswj.modules.bdbusiness.entity.BKKnowledgeTradeEntity;
import gov.ccswj.modules.bdbusiness.service.BKKnowledgeTradeService;



@Service("bKKnowledgeTradeService")
public class BKKnowledgeTradeServiceImpl implements BKKnowledgeTradeService {
	@Autowired
	private BKKnowledgeTradeDao bKKnowledgeTradeDao;
	
	@Override
	public BKKnowledgeTradeEntity queryObject(Integer id){
		return bKKnowledgeTradeDao.queryObject(id);
	}
	
	@Override
	public List<BKKnowledgeTradeEntity> queryList(Map<String, Object> map){
		return bKKnowledgeTradeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bKKnowledgeTradeDao.queryTotal(map);
	}
	
	@Override
	public void save(BKKnowledgeTradeEntity bKKnowledgeTrade){
		bKKnowledgeTradeDao.save(bKKnowledgeTrade);
	}
	
	@Override
	public void update(BKKnowledgeTradeEntity bKKnowledgeTrade){
		bKKnowledgeTradeDao.update(bKKnowledgeTrade);
	}
	
	@Override
	public void delete(Integer id){
		bKKnowledgeTradeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		bKKnowledgeTradeDao.deleteBatch(ids);
	}
	
}
